This cool trick will transform one’s dull terminal to a fancy terminal with date + time and current Git branch if any.
Copy below code to your ~/.bashrc
export PS1='\[\033[0;32m\]\[\033[0m\033[0;38m\]\u\[\033[0;36m\]@\[\033[0;36m\]\h:\w\[\033[0;32m\]$(__git_ps1)\n\[\033[0;32m\]└─\[\033[0m\033[0;31m\] [\D{%F %T}] \$\[\033[0m\033[0;32m\] >>>\[\033[0m\] '
When done, source the bashrc file and then voila!!!
$ source ~/.bashrc
Dull Terminal
Epic Terminal with date, time and current git branch