You could learn all Git commands by joining the Git training from Intellipaat which includes 16hrs online training course and also 20 hrs project works and exercises that help you in gaining enough hands-on experience.
Do take a look at our YouTube video from our experts on How to learn Git.