Having all sorts of .vimrc, /.vim (like .sls files syntax), /.gitconfig settings in my Linux home dir made want to easy port this between servers. So I initialized and pushed to server a git repository and wanted to pull files from git on another server:
cd ~ git clone ssh://<git user>@<git server>/<repo path> . fatal: destination path '.' already exists and is not an empty directory.
So, we need to get a git repo to a non-empty directory. Stackoverflow comes in handy (as most of the time) and tells us to:
cd ~ git init git remote add origin ssh://host/repo.git git pull origin master