https://medium.com/@alexeysamoshkin/manage-git-work-tree-and-index-using-git-restore-command-d90d90f04c4f