was working in a non git directory