don't assume .git exists