Git & GitHub

Git is an open-source distributed version control system that allows developers to track changes to source code over time, collaborate with others, and maintain multiple branches of a codebase. With Git, developers can work on code offline, make changes, commit those changes to a local repository, and then sync those changes with a central repository when they are ready.

GitHub, on the other hand, is a cloud-based hosting service for Git repositories. It provides a platform for developers to store their Git repositories in the cloud, as well as a range of collaboration and project management features such as issue tracking, pull requests, and code reviews.

Some key differences between Git and GitHub include:

In summary, Git is a version control system, while GitHub is a cloud-based hosting service for Git repositories with additional collaboration and project management features. Git can be used independently of GitHub, but using GitHub can make it easier to collaborate on code with others and manage projects.

Git Command list

Here is a list of some commonly used Git commands:

These are just a few of the most commonly used Git commands, and there are many more available depending on your specific needs.