How to install dbt core for macbook m1 and make the first commit and push to my github repository, all through vs code

Can someone help me step by step? TIA