You just realized that you have commited a backup file: main.cpp.swp
main.cpp.swp
Backup files should not be commited, let's correct that mistake :
rm
git add -A