How to get Git to clone into current directory
Solution: On this case, the solution was using the dot, so: rm -rf .* && git clone ssh://[email protected]/home/user/private/repos/project_hub.git . rm -rf .* && may be omitted if we are absolutely sure that the directory is empty. Credits go to: @James McLaughlin on comments below.