What is the difference between git add filename and git stage filename? Because when I tried them both it looks that they do the same thing.
git add filename
git stage filename
As the documentation says, git stage is just a synonym for git add, so there is no difference in usage.
git stage
git add