Add C function to get remote name of S4 class git_branch