Git is a distributed version-control system for tracking changes in source code during software development. It is designed for coordinating work among programmers, but it can be used to track changes in any set of files.
GitHub is a Git repository hosting service. While Git is a command line tool, GitHub provides a Web-based graphical interface. It is a platform for Open source enthusiast to come together and contribute
The git init command creates a new Git repository. It converts our current working folder to a Git repository or initialize a new repository.
The git add command adds a change in the working directory to the staging area. It notify Git that you want to include updates to a particular file in the next commit.
The git commit command captures a snapshot of the project's currently staged changes.
The git clone command target an existing repository and create a clone, or copy of the target repository.
This log command returns a pretty git log with one line colorful commit summary, and absolute commit date.
The git diff command shows the differences between files that haven't been staged yet.
The git checkout command changes the current working branch to the specified branch in
The git branch command lists all local branches in the current repository.
Clear the files from staging area
Fetch and integrate the repository to the local repository
This git command creates a branch with the 'branch_name' and also goes into it (checks in the newly created branch).
The git diff command shows the differences between files that haven't been staged yet.
The git clone downloads the files from the url
Clear the files from staging area
Fetch and integrate the repository to the local repository
git push origin helps to push the commit to the local repository
This git command allows user to merge the current branch into the active branch.
This command temporarily stores all the modified tracked files.
This command lists version history for a file, including the renaming of files also.
The git remove command remove a file (or folder)
Move or rename a file, directory or symlink.
The git checkout command changes the current working branch to the specified branch in
Clear the files from staging area
Fetch and integrate the repository to the local repository
The git 'checkout -b' command creates a branch with the
The git checkout command changes the current working branch to the specified branch in
The git clone downloads the files from the url
Clear the files from staging area
Fetch and integrate the repository to the local repository
git push origin helps to push the commit to the local repository
This git command allows user to merge the current branch into the active branch.
This command temporarily stores all the modified tracked files.
This command lists version history for a file, including the renaming of files also.
The git checkout command changes the current working branch to the specified branch in
The git remove command remove a file (or folder)
Move or rename a file, directory or symlink.
View the commits history.