As a programmer, it's important to stay up-to-date on the latest trends and technologies in the field. But when you're not working, you still want to relax and enjoy some quality entertainment. Luckily, there are plenty of TV shows that cater to the tech-savvy crowd.
A new branch can be created with the ‘git checkout’ command with the ‘-b’ option and a new branch name as arguments. This will create a new branch from your current branch and also switch the branch to the new branch.
Git stash command is used to store changes that you don’t want to commit now and take you to the last commit of the branch. And later when you are ready you can come back to the same branch and reapply the stashed changes.