fix .git in index