You can either add them automatically
dir=${XDG_CONFIG_HOME:-$HOME/.config}/gitalias
mkdir -p "$dir"
curl <https://raw.githubusercontent.com/GitAlias/gitalias/main/gitalias.txt> -o "$dir/gitalias.txt"
git config --global include.path "$dir/gitalias.txt"
Or, add the ones you like to your ~/.gitconfig
Here’s mine
https://opensource.com/article/20/11/git-aliases
These are a couple of git aliases that make my development much smoother
Here’s another I frequently use from garmoncheg
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --"