GitHub is a provider, you don’t learn it(ok, maybe you need time for some tools, like how to use pull requests, or how you make statistics there). You learn using git. And for basic matters it’s a few hours , to get you on a level where you can reliable use it on a basic level(push/pull/fetch/add/commit).