check if a file exists in the index. #git