Doing git operations as a cloud app


I’m using the atlassian-connect-spring-boot-starter framework to make a bitbucket cloud app to automatically update dependencies. I use JGit for handeling all native git operations like cloneing and pushing but now i need to authenticate my app to do so. i was thinking about using the jwt that this library can create but it seems i have to specify a httpMethod and a uri so that seems to rule it out as an option.
so could anyone help me in this?

@glennS, please see the thread Atlassian Connect Spring boot support for Bitbucket. Unfortunately, the situation is unchanged after two years. That is also why atlassian-connect-spring-boot is not listed under Frameworks and tools in the Bitbucket Cloud developer documentation.