Move .gitignore rules to the top