Set convenient git aliases. They pay off the effort. Modify your global [recommended] or local git aliases. You need to edit .gitconfig file.

Another possible set of aliases.


[alias]
    st = status
    ci = commit
    br = branch
    co = checkout
    df = diff
    ds = diff --staged
    lg = log -p
    lol = log --graph --decorate --pretty=oneline --abbrev-commit
    lola = log --graph --decorate --pretty=oneline --abbrev-commit --all --date=local
    ls = ls-files
    unstage = reset HEAD

    # Show files ignored by git:
    ign = ls-files -o -i --exclude-standard

Another possible solution is to edit your .bashrc that is in your home directory ~:

vim ~/.bashrc

alias dc="docker compose"
alias dcweb="docker compose exec web"
alias dcrun="docker compose exec web vendor/bin/run"
alias dcbash="docker compose exec web bash"
alias dcdrush="docker compose exec web vendor/bin/drush"
alias dockerrmall='docker rm $(docker ps -a -q)'
alias dockerstopall='docker kill $(docker ps -q)'
alias dockerrmimgall='docker rmi $(docker images -q)'
alias dockerrmiorphans='docker volume rm $(docker volume ls -qf dangling=true)'