Git is a free, open-source distributed version control system used for tracking changes in files, especially code.
GITHUB:
GitHub is a web-based platform that provides developers with tools for version control and collaboration on code projects.
git init:
The git init command creates a new Git repository. It can be used to convert an existing, unversioned project to a Git repository or initialize a new, empty repository
git status:
the git status command displays the state of the working directory and the staging area
git add:
The git add command adds a change in the working directory to the staging area. It tells Git that you want to include updates to a particular file in the next commit
git push:
The git push command in Git is used to upload local repository content to a remote repository. This action transfers committed changes from your local branch to its corresponding branch on a remote server
git pull:
The git pull command is used to fetch and download content from a remote repository and immediately update the local repository to match that content
git clone:
git clone is primarily used to point to an existing repo and make a clone or copy of that repo at in a new directory, at another location
git merge:
The git merge command in Git integrates independent lines of development, typically from different branches, into a single branch. It is a fundamental operation for combining work and maintaining a unified project history.
Top comments (0)