Using the correct option for switching the Git working directory.

Note: This needs git >= 1.8.5 to work