see https://stackoverflow.com/questions/651038/how-do-you-clone-a-git-repository-into-a-specific-folder
git init git remote add origin PATH/TO/REPO git fetch git checkout -t origin/master