Initialize a simple text-based version control system with a single file named README.md containing the text Initial commit.
Here is the initial state of your simple text-based version control system:
| File | Content | 
|---|---|
| README.md | Initial commit | 
Create a new branch called feature and switch to it.
You have created a new branch called feature and switched to it. Here is the current state of your version control system:
| Branch | File | Content | 
|---|---|---|
| master | README.md | Initial commit | 
| feature | README.md | Initial commit | 
Edit README.md on the feature branch and add the line Added a new feature.
You have edited the README.md file on the feature branch. Here is the current state of your version control system:
| Branch | File | Content | 
|---|---|---|
| master | README.md | Initial commit | 
| feature | README.md | Initial commit Added a new feature. | 
Commit the changes with the message Updated README with new feature description.
You have committed the changes with the message "Updated README with new feature description". Here is the current state of your version control system:
| Branch | File | Content | Commit Message | 
|---|---|---|---|
| master | README.md | Initial commit | Initial commit | 
| feature | README.md | Initial commit Added a new feature. | Updated README with new feature description | 
Switch back to the main branch.
You have switched back to the main branch. Here is the current state of your version control system:
| Branch | File | Content | Commit Message | 
|---|---|---|---|
| main | README.md | Initial commit | Initial commit | 
| feature | README.md | Initial commit Added a new feature. | Updated README with new feature description | 
Merge the feature branch into main.
You have merged the feature branch into main. Here is the current state of your version control system:
| Branch | File | Content | Commit Message | 
|---|---|---|---|
| main | README.md | Initial commit Added a new feature. | Merge: Updated README with new feature description | 
| feature | README.md | Initial commit Added a new feature. | Updated README with new feature description | 
Display the commit history of the main branch.
Here is the commit history of the main branch:
| Commit Hash | Commit Message | Content | 
|---|---|---|
| 1 | Initial commit | Initial commit | 
| 2 | Merge: Updated README with new feature description | Initial commit Added a new feature. |