Joining a team
On your first day you don't start from scratch: you clone the team's repository — its full history comes with it. Then each morning you pull to get what everyone else pushed.
clone, fetch, pull
git clone https://github.com/sikau/team-site.git ls git log --oneline git status
git pull git log --oneline cat contact.html
- Pull before you start work, and before you push.
- git fetch alone downloads without changing your files — handy to look before merging.