# Getting better at Git

This has nothing to do with Beyond Compare, just with learning Git.  Instead of googling everything, learn to use the built-in help.  Looking at monochrome text in the terminal is a great skill to have and your efficiency will 3x, guaranteed.

### Step 1: Simply type git help

Here are the only things Git knows how to do.  In the terminal, when you type **git help**, it will show you this list: `clone, init, add, mv, reset, rm, bisect, grep, log, show, status, branch, checkout, commit, diff, merge, rebase, tag, fetch, pull, push`

Scan this list and decide which word is the closest to what you are trying to do.  &#x20;

### Step 2: Now make a two-word help request

Maybe **fetch** is what you want; just type **git help fetch**.

![](/files/-LaBIqRHkEb7H6tDQTwu)

Wow, lots of text!  Now you may be a little put off.  Be patient!     There are two keys to understanding this man page.  I'll give two tips and then leave you to explore.

### Search:

Man pages are sort of long.  Sometimes, instead of scrolling, you should search.  Type a slash followed by the word you are searching. Now, a quirk:  hit Enter once, and then hit 'n' several times.   'Enter' will search for the first occurance of your word.  'n' will search for subsequent occurances.

### Syntax explanation:

Learn to read the top few lines.&#x20;

![](/files/-LaBHOYutVeYe6YInTT1)

That's plenty of advice.  You now know enough to dig (for years!) through the Git's unusually helpful man pages.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://beyondcompare.gitbook.io/project/git/the-one-thing-that-will-improve-your-git-ability.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
