The idea is to automatically save a gitsession if: - the current working directory is a code repo (e.g. `.git` or `.hg` is present) - no current session exists