Update gitignore for folders from other branches.