Fix git commit context for multiple repos

let the agent read the git commits, currently this only works for workspaces with one repo in it. The option gets hidden on workspace having multiple repos and nested .gits