Git Gud

If you have not heard of git, it is a version control system for tracking changes in computer files and coordinating work on those files among multiple people. For the layperson, you can think of it like a more specialised/versatile Dropbox.

If this interests you, I would recommend to check out the free Pro Git ebook to have a more thorough understanding of the intricacies of the subject.

For starters, you should get an account and familiarise yourself with one of the git repository hosting services. It is likely that you have came across GitHub, one of the most popular git repository hosting around but I am personally using BitBucket (even this website’s repository is on BitBucket).

There really isn’t too much difference between both options but BitBucket does offer unlimited private repositories which is something I really value over GitHub which defaults all repositories to public facing unless you’re on a paid account. With that said, I must say that GitHub is absolutely one of the most phenomenal service I use frequently and they have a lot of good documentation to help you get going.

After creating or cloning an existing repository, here are some of my most commonly used commands in the terminal;

git init

git remote add origin

git add .

git commit -m “Initial commit”

git push -u origin master

git stash save “Custom message”

git stash list

git stash pop [email protected]{0}