I have directory A with files matching directory B. Directory A may have other needed files. Directory B is a git repo.
I want to clone directory B to directory A bu
A slight modification to one of the answers that worked for me:
git init git remote add origin PATH/TO/REPO git pull origin master
to start working on the master branch straight away.