I’ll keep this very short, because I want to show beginners how little they need to remember to get started.
1. If you are working on a small personal project, you only need to learn these six commands on a day to day basis:
- add
- commit
- push
- pull
- clone
- status
2. And when working with others, you’ll also frequently use:
- branch
- checkout
- merge
3. Graphical tools can help you visualise how and when changes happened. Visual Studio Code and various code editors provide excellent git integration nowadays.
Also, note that github.com is not git
Git is a free and open source distributed version control system that can handle small to very large projects. It’s mostly used to keep the history of your source code.
Github is a company that provides an online git hosting service, used by some projects to keep their source code. There are several companies that offer github like service, for example gitlab and bitbucket. They all use git to manage a user’s project source code internally.
Leave a Reply