Configure git details

git config --global "Nicolas Cage"

git config --global ""

if you remove --global and go into the relevant folder then you can assign different user to different git repros.

Set up git in folder & push

make sure you’re in the folder you want. Oh-my-Zsh really helps with seeing git commands.

git init

git add *

git commit -m "add your message here"

git remote add origin

git push origin master

General commands

git config color.ui true #pretty git colours

git config format.pretty oneline #one log per line