Use latest version of notmuch, adapting the customization accordingly
Try to work even if the remote is not in git