We run git hooks when committing things or pushing but many repos have directory specific env setup that is required for hooks to run properly like a virtual python environment or non global node/rust version.
While executing these hooks gitbutler can activate those envs and run hooks without failing otherwise at the moment we have to run gitbutler from command line after activating the environment for it to run git hooks in the environment.