added git location check to prompt