Move cd() call to the low-level wrap-call() function

This commit implies any GitRepository method using a low-level `git ...`
command does not need to care about moving to the right location.