I can't use my git alias
<p>How to use the git alias?</p>

<p>I have configured them in <code>~/.gitconfig</code>:</p>

<pre><code>[alias]
    g = "git"
    go = "git checkout"
</code></pre>

<p>And I can see them with <code>git config --get-regexp alias</code>:</p>

<pre><code>alias.g git
alias.go git checkout
</code></pre>

<p>But when I try to use them, it displays the following:</p>

<pre><code>$ g
g: command not found

$ go
The program 'go' is currently not installed. You can install it by typing:
sudo apt install golang-go
</code></pre>

<p>How cai I make them to work?</p>