About Git (What can be recovered):
Remember, anything that is committed in Git can almost always be recovered. Even commits that were on branches that were deleted or commits that were overwritten with an –amend commit can be recovered (see Data Recovery for data recovery). However, anything you lose that was never committed is likely never to be seen again.
(ref:https://git-scm.com/book/en/v2/Git-Basics-Undoing-Things)