Refactored profile and made git prompt optional