Check for changes before commiting

No need to commit without changes.
Also ignore all hidden files and directories