For better understanding what is stash in git suppose you are a developer. You came in office and start coding. From last 2-3 hours you are working on your code. But your task is not completed yet means still you are continuously working on your code.