Stop sourcing session in any git-like buffer