For your alias to be insert in commands bash, you need to include that in .bashrc,
so take this example and to be happy:
```echo alias g=\'git\' >> .bashrc```
If you have a success with this command, you can now call git with 'g' command.
Now, if you like alias git, you can create your personal alias file, take this
example and edit your file ~ / .gitconfig:
```
[user]
email = mikaelhadler@gmail.com
name = Mikael Hadler
[core]
editor = nano
[alias]
st = status
ac = !git add -A && git commit
ck = checkout
cb = checkout -b
cm = commit
b = branch
revert = reset --hard HEAD~1
del = branch -D
l=log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
```