This script is an example of how to do git-like commands with Bash.
Example script of how to process args with bash.