Confused about Git and Terminal usage in WordPress Theme Development Course

I'm currently taking a YouTube course on WordPress Theme Development, and I'm stuck on the third video, which can be found here (https://www.youtube.com/watch?v=cP4FprafrkE). In this video, the tutor creates a 'Readme' file and discusses pushing it to GitHub. He also uses the Terminal to add some files, but I'm having trouble understanding these steps, especially since I don't come from a technical background. I have some basic knowledge of HTML, CSS, and JavaScript, and I know a little about GitHub, but I'm lost when it comes to the commands and processes involved in using the Terminal and Git for version control.

Could someone please explain the following:

  1. What is the purpose of the 'Readme' file in a GitHub repository?
  2. What are the basic Terminal commands I should know to push files to GitHub?
  3. How do I properly set up my local environment for WordPress theme development with Git?

Any help or resources would be greatly appreciated! 

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer