correctly handles git untracked files