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.

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.

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.

Git Topics

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.

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 Mergetool – Merging With a GUI

Using Git Mergetool, git can work with a large number of GUI tools for helping with merging. A couple of popular GUI tools used on Linux are kdiff3 and meld.

Git Repositories – Just Tell Me What I need to Git Going!

Most of the time, you will likely use just a handful of git commands: git add to tell git this file is ready to be committed to the git repository.

Why Use Git Instead of a Legacy Version Control System?

Why use Git, because Git is distributed so you have the ability to have a copy of the complete repository on your local drive that you can work against.

Switching Branches Without Committing

This in-depth tutorial explains how to switch branches without committing using the git checkout command.

Stay on top - Get the daily news in your inbox

Latest Git Updates

Git Object: Tag | Git Tag

A git tag can be used to give a name to a git commit . We show how to tag the current state as, say, "1.0beta". The tag includes:

Switching Branches Without Committing

This in-depth tutorial explains how to switch branches without committing using the git checkout command.

What’s In The Git Index? What’s Changed?

We explain and show how to use the helpful commands and for finding out the state of your working directory and git index.

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.

The Configuration File – “Branch” Section

Git Branch - Let's look at the config file for the git client that did the git clone git://repohost/project1.git in the Git Remotes Behind the Scenes.

About GitGuys

GitGuys was created by The Git Guys: Tim Flagg and Matthew R. Laue, founders of Akiri Solutions to provide a place for learning git.

Where Do I Get Git?

Where do you get git? We have the answer to that for Linux (Ubuntu, Debian, and Red Hat), Windows, and Apple OS as well as over 30 free git tutorials.

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 Commits And Referring To Commits | GitGuys

Commands discussed in this section are git commit, git log, and git show. When you use the git commit command to commit/check-in/submit to the git repository:

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.