In Project 2 of the 7-Day DevOps Challenge, the focus was on connecting a Java web app hosted on AWS EC2 to GitHub.
The steps covered include installing Git on EC2, setting up a GitHub repo, initializing a local Git repo, tracking and committing code, and pushing code from EC2 to GitHub using a personal access token.
Version control with Git and GitHub is essential for developers to ensure code safety, traceability, and easy management whether working solo or in a team.
Through this project, various concepts like version control, repo setup, staging/commits, and the use of GitHub tokens were learned, taking approximately 2 hours to complete.