Git Add

Learn Git

Git allows you to take snapshots of a repository over time. Each of those snapshots is called a Git commit.  But how does Git know what information we want to commit?   This is where Git add comes in.  Git add is a command that allows you to stage individual files, or all files in the […]

Git Fetch

Learn Git

One of the reasons Git has become so popular is because it enables teams of any size to collaborate on code.  When working with Git, users can Git push changes to a shared copy of their local repository, called a Git remote.  New collaborators can pull down these collective changes– the sum of all related […]

Git Config

Customize how Git works and how you interact with it using the Git config command. Learn how to Git config username, Git config email, the hierarchy of the Git config commands, and more.

Git Patch

learn git concepts

Git patches are text files used to share code. Learn how to create and apply Git patches using the command line and GitKraken Client.

Git Reset

Learn Git

Git reset allows you to move the HEAD to a previous commit, undoing the changes between your starting state and specified commit. Learn how to use Git reset hard and soft.

GitHub Download

learn git concepts

Can you download GitHub?  There are a few different answers to that question. If you are interested in downloading GitHub Enterprise for on-premises use or to install in the cloud, check out the GitHub Enterprise documentation.  If you’re looking for how to download GitHub Desktop, see how GitKraken Client compares to GitHub Desktop and then […]

Git Download

learn git concepts

To start using Git, you’ll first need to download Git for your operating system. In this article, we’ll cover how to download Git for Windows, Mac, and Linux. You’ll also learn how to configure Git with your identity so you can start working on your first Git project.  Download Git for Your Operating System Download […]

Writing a Good Git Commit Message

Before we jump into the best practices for composing top tier Git commit messages, let’s start with a quick refresher on what a commit is in Git. Git commits are a way to “record changes to a repository.” A Git repository is the collection of files tracked in the .git folder of a project. In […]

Git Push

learn git concepts

The Git push command uploads local changes to your remote repository. Generally, when using Git, your code exists in both a local repository on your computer, as well as one or more repositories on a server. We call the repos stored on a server “remotes”.  Git push will upload Git commits from your local repository […]

Git Worktree

learn git concepts

The Git worktree command allows you to checkout and work in multiple Git branches simultaneously.  Now, what situations might you utilize this action? Imagine you’re in the middle of making numerous changes on a project with multiple new dependencies introduced with various WIP changes. What would happen if you suddenly have to work on a […]