A custom terminal (Bash) prompt which shows name and state of the current Git branch (if available). Brings together ideas from https://gist.github.com/joemaller/4503986 and https://gist.github.com/joemaller/4527475

Finally solved the Terminal restore glitch. Terminals now restore correctly while maintaining the custom git-aware prompt. A custom terminal (Bash) prompt which shows name and state of the current Git branch (if available). Brings together ideas from https://gist.github.com/joemaller/4503986 and https://gist.github.com/joemaller/4527475