'Commit to private github repo that is connected with jenkins using ssh credentials

My github private repo is connected with jenkins using my ssh credentials. Public key of my ec2 server has been added to my github ssh key. I can commit from my github and new commit is updated on my ec2 server successfully but if anyone else commits to into this repo will the commit be also updated on my ec2?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source