GITHUB AND GIT COMMANDS

Git and GitHub

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

GIT COMMANDS

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 clone

The git clone command creates a working copy of a local repository.

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 commit

The git commit command captures a snapshot of the project's currently staged changes.

git merge

The git commit command joins two or more development histories together.

git log

The git commit command provides a log of changes made throughout time.

git show

The git commit command shows one or more objects (blobs, trees, tags and commits).

git tag

The git commit command provides Tags are ref's that point to specific points in git history. Tagging is generally used to capture a point in history that is used for a marked version release .

git branch

The git branch command is used to make a new branch. It can also be used to delete or list the existing branches of your repository.


Click Here  to navigate to  git-commands.json  and add your favourite Git Command to the list