Working with GitHub in VS Code code example
Example 1: VS github commit
// ready the changes for commit
git add .
// commit your changes with a message
git commit -m "Your message to refernce your commit"
Example 2: how to save files in a repository visual studio code
def fib(number):
if number in [0, 1]:
return 1
else:
return fib(number - 2) + fib(number - 1)