This is the .bashrc and .bash_profile I use to personalize my Terminal.
.bash_profile is executed for login shells, while .bashrc is executed for interactive non-login shells.
However, if you add the following to your .bash_profile, you can then move everything into your .bashrc file so as to consolidate everything into one place instead of two:
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
The hostname utility prints the name of the current host. The super-user can set the hostname by supplying an argument. To keep the hostname between reboots, run `scutil --set HostName name-of-host'.
Git setting
git config --global user.email "you@example.com"
git config --global user.name "Your Name"