This is my bashrc file that lives in my home directory and launches when my bash shell (Git for Windows MinGW) runs.
First up a new ssh agent is created. There are also aliases for common git commands and two bare-bones helper functions to remotely create/delete bitbucket or github repos (with NO ERROR CHECKING), which doesn't work sometimes if there are things like typos.