1. git init 2. git add .3. git commit -m "first commit"4. git remote add origin 5. git push -u origin master