Editor's Pick

“Tracking Branches” And “Remote-Tracking Branches”

Both Tracking Branches and Remote Tracking Branches are created on the git client when a git clone command is used.

Merging Branches With a Conflict: Conflicts And Resolutions

Learn what to do when you have a conflict when merging branches in Git. 30+ additional Git Tutorials.

Adding and Removing Remote Branches

Adding and removing remote branches using git branch is explained in this tutorial. Click on this link to learn more about using git branch with remote branches.

Git Topics

Git Merge – Merging Branches Without Conflict

Examples of when would you might want to merge branches using git merge are explained in detail in this tutorial. 30+ additional, free tutorials available.

HEAD: Where Are We? Where Were We?

Git uses the HEAD variable, which by default, is a reference to the current (most recent) commit. In our example, the most recent commit is labeled C2 in the diagram:

Creating a Shared Repository – Users Sharing The Repository

In these examples, the other users of the shared repository will not be very remote since the repository will be on the same disk as the users' home directories.

Shared Repositories Should Be Bare Repositories

Bare Repositories - When creating a central repository that will be shared by other users, the repositories should be created with the --bare option.

Adding and Removing Remote Branches

Adding and removing remote branches using git branch is explained in this tutorial. Click on this link to learn more about using git branch with remote branches.

Stay on top - Get the daily news in your inbox

Latest Git Updates

Git Object: Git Commit

When a git commit is done to "check in" the updates to the repository, git creates a new commit object, which is also saved to the git repository. Learn more.

HEAD: Where Are We? Where Were We?

Git uses the HEAD variable, which by default, is a reference to the current (most recent) commit. In our example, the most recent commit is labeled C2 in the diagram:

Git Diff Command Explained

See how the git diff command can be used to show you the difference between the version of a file in the working directory, index and most recent commit.

Creating And Playing With Branches – Git Branch

Using Git Branch, you can create your own branches and jump between branches as if git was built from the ground-up for a great branching experience (yes, it was).

Temporarily Stashing Your Work

Git Stash is used when you want to record the current state of the working directory and index, without committing, to come back to complete later.

Why Git? Come to the GitGuys for 30+ FREE Tutorials

Git provides better history, flexibility in where you work, easy branching, is flexible and powerful, and it is FAST. 30+ FREE tutorials at GitGuys.com.

Git Resources

8 Reasons for Switching to Git

Switching to Git can decrease the time required for managing your code base, increased time for coding. Git automates many of the tasks that you need to do while managing your code, saving you time.

Git Repositories

How to Recover a Deleted File From a Git Repository

Recovering a deleted file from the git repository is easy if you know the method and commands. This short tutorial walks you through the process.