The main branch of a repository has 4 commits. A branch is c…

The main branch of a repository has 4 commits. A branch is created. 2 commits are added to the branch. An additional commit is added to the main branch.The branch is squash merged and committed back to the main branch. The branch is then deleted. How many commits are there on the main branch?

The main branch of a repository has 4 commits. A branch is c…

The main branch of a repository has 4 commits. A branch is created. 2 commits are added to the branch. An additional commit is added to the main branch. The branch is merged back to the main branch and then deleted. How many commits are there on the main branch?