Git settings for new system

Cleanup and bug fixes in bashrc.
Cleanup in newsystem, added git stuff.