This is nearly impossible to implement securely.
Better don't run exa against untrusted directories.
Do not run "git" in untrusted directories. It is not hardened against that (as opposed to the network protocol).
That probably includes libgit2 unless it explicitly states the opposite.
This is nearly impossible to implement securely.
Better don't run exa against untrusted directories.