git checkout branch from outside
You can use –git-dir to specify the .git directory to use as the repository, and –work-tree to specify the working tree to to the checkout in. See the git man page for details. git –git-dir=file-system-folder/.git –work-tree=file-system-folder checkout existing-branch