Tips

Git clone in current directory

Git does does not allow a clone in a directory with existing files. There are certain situations in which this might be required, for example when you need to deploy an application in the users home directory which contains hidden files.

In this case you can use: 

1
2
3
4
git init
git remote add origin PATH/TO/REPO
git fetch
git checkout -t origin/master