Git and GitHub are related but distinct tools in the world of version control and collaboration for…