latest changes from upstream rbenv-update
- ensure git defaults for git-pull regardless of user config
- only update rbenv if in rbenv's git repo (vs homebrew's repo)
- respect remote and branch names (don't assume or force origin/master)
- update rbenv from where the rbenv bin lives