Results 2 issues of mburtka

Implements the feature requested in #1796 This fetches the default branch from a remote repository. This is useful to detect changes, and when remotes are added following initialization.

Hi there, I was trying to interop with C# and create a custom refdb backend. I was unable to allocate a new `git_reflog` to implement `read_reflog`. The `reflog_alloc` that already...