How to Unstage a File in Git Remove from Staging Index

Learn how to unstage a file in Git using git restore and alternatives so the file is removed from the staging index before commit