Stop committing with the wrong email: Multiple Git Configs for GitHub

How to commit with different emails/SSH keys on Github depending of the folder you are in and sign your commits automatically.