adding check for git folder back to prompt