Avoid committing junk

Have you ever accidentaly pushed temporary stuff to the remote git server? Then keep reading.