Added color determining code to git