Below is a list of the most common Git terms you need to know.
Term
Description
Working Directory
A view of your local Git repository which contains a list of uncommitted changes to files.
Master Branch
A view of your local Git repository which contains a list of files that have been committed locally or pulled from a remote Git repository
Origin
The name for the repository that the current local Git repository was cloned from.
Pull
Downloads changes from a remote Git repository to your local Git repository.
Merge
Merges changes from a pull into your local Master branch. Some Git UI tools perform a Pull and Merge in one operation.
Push
Uploads committed changes from your local master branch to a remote repository
Diff
Displays the difference between versions of a file, or lists all the changes for a particular commit.
Commit
Moves changes from your local working directory to your local master branch. Each commit should contain a short description and signed off by the local developer. Each commit is assigned a unique id so that it can be identified later.
Blame
A Git tool that identifies who changed a particular line in a file and when it was changed.
+
A new file to be added to your local Git repository – as seen in your “Working Directory”
-
A file that is to be deleted from your local Git repository – as seen in your ‘Working Directory”
+++
A new line added to a file – as seen in Git Diff
—
A line removed from a file – as seen in Git Diff
A new file
The file has been deleted
The file has been updated
|The file in Git is identical to the source in OpenInsight|