Here, I have created the new_version branch from the main branch, which already contains the latest version of the code.
images:
2.Next, I made changes to the README.md file in the new_version branch, added and committed those changes, and then tried to merge the main branch into the new_version branch. However, since the new_version branch was created from the main branch, it showed "Already up to date." [2]: https://i.sstatic.net/LXl44Fdr.png
3.Keep in mind that if you merge the new_version branch back into the main branch, the main branch will be updated with the changes made in the new_version branch, effectively replacing the code in the main branch with the updated code from the new_version branch. [3]: https://i.sstatic.net/Yn9Hydx7.png