SSH-Keygen for git repo access

Without knowing any of your setup, nobody can give specific instructions. Have you read “Cloning Remote Repo Using SSH Agent Forwarding” at https://roots.io/trellis/docs/ssh-keys/

That should work on both Linux and OS X, I’ve read people have more issues with it on Windows, so this might be helpful: How to SSH Forward on Windows