update .gitignore

you have to delete media in the file .gitignore to commit changes in the
folder media