Add a git helper function for comparing remotes