how do you set a bash alias in git bash code example

Example 1: git bash alias commands

Follow below steps:
a) Open the file .bashrc which is found in location C:\Users\USERNAME\.bashrc

If file .bashrc not exist then create it using below steps:
1. Open Command Prompt and goto C:\Users\USERNAME\.
2. Type command notepad ~/.bashrc
It generates the .bashrc file.

b) Add below sample commands of WP CLI, Git, Grunt & PHPCS etc.

# ----------------------
# Git Command Aliases
# ----------------------
alias ga='git add .'
alias gaa='git add .'
alias gaaa='git add --all'

# ----------------------
# WP CLI
# ----------------------
alias wpthl='wp theme list'
alias wppll='wp plugin list'

Example 2: bash how to set up aliases

# Process:
1. Open the .bashrc file with your favorite shell text editor. E.g.
	type "vi ~/.bashrc" 
    # Note, in general, the .bashrc file should be in your home
	# 	directory. Type "cd ~" and then "ls -a" to confirm that it's there
2. Define an alias on a new line using this basic syntax:
	alias abbreviated_command='original -long -command'
    E.g.: alias ls='ls --color -lhAFG'
3. Save and exit the .bashrc file (e.g. type ":q" and Enter in vi/vim)
4. Source the .bashrc file to apply/activate the alias. E.g.
	type "source ~/.bashrc"

# Note, I like having the following aliases to speed up this process:
alias bashrc='vi ~/.bashrc'
alias sourcebash='source ~/.bashrc'