Initiate a local repository in project directory
$ git init
Commit local files to local repo
Add remote repo
git remote add origin *[your remote repo url]*
Push local repo master branch to remote master branch
git push origin master
Initiate a local repository in project directory
$ git init
Commit local files to local repo
Add remote repo
git remote add origin *[your remote repo url]*
Push local repo master branch to remote master branch
git push origin master