Git commands for first time upload project on git or push project on git/bitbucket

Git Commands

These are the commands to use for first time while uploading the project on git/bitbucket or for pushing the code on bit bucket

git init
git remote add origin git@github.com:study/tutorial.git
git add .
git commit -m 'Adding initial files.'
git push -u origin master

Comments