git: add gitignore

Signed-off-by: Silvio Fricke <silvio.fricke@gmail.com>
git-integration: set preference gitrepo dialog only buffer has no content

Signed-off-by: Silvio Fricke <silvio.fricke@gmail.com>