Initialize Git on project folder

Initialize git

$ git init

Adding of remote git

$ git remote add origin repository-path

Add all files for commit

$ git add .

Set user credentials

$ git config user.email "your@example.com"
$ git config user.name "Your Name"

Commit

$ git commit -m "Message"

Push commit

$ git push origin master