You have to configure Git with your GitHub account and set up secure authentication and the recommended approach is to use SSH…