Merge pull request #2511 from libgit2/cmn/remote-default-restrict Restrict which refs can be the default branch