Git is a version control system. Version control is a way that programmers track code changes. Version control is the management of changes to documents, computer programs, large websites and other collections of information.
- Git Kraken
- Directory
- Terminal
- CLI -(Command Line Interface)
- README Files
Git is the tool that tracks the changes in your repository, Github is a website where we host all our git repository.
git cloneclone a repository to my local machinegit addAdd files that we need to changegit commitSave files in Gitgit pushUpload the files to a remote repository like Github or Gitlabgit pullDownload changes from a remote repository like github
Before we can use git, we have to make sure it has been installed on our local machine. Linux and MacOS come with Gut installed.
Confirm Git is installed by running the command below in your terminal
git --version or