Brand New
mkdir dirnamegit init- for brand new projects- Create files
git add .- adds all changes from current directorygit commit -m "message goes here"- Go to github and create repo.
- Grab Repo git@url
git remote add origin <git@url>git push origin master
Changes
- Make changes
git add .git commit -m "commit message"git push origin master- rinse and repeat