www.youtube.com/watch?v=ArNd5sSwD04&list=PLuHgQVnccGMA8iwZwrGyNXCGy2LAAsTXk&index=25 ================================================================================ git init vim f1.txt a git add f1.txt git commit -m 1 ================================================================================ git checkout -b exp vim f1.txt ================================================================================ git checkout master git status "Edited f1.txt" affects "master branch" ================================================================================ git checkout exp git status ================================================================================ git stash ================================================================================ git status ================================================================================ vim f1.txt ================================================================================ git checkout master Do some tasks ================================================================================ git checkout exp git stash apply ================================================================================ vim f1.txt ================================================================================ git stash list