<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described below step by step
<END_TASK>
<USER_TASK:>
Description:
 Very simple git intro
git config
%%bash
git config --global --get user.name
git config --global --get user.email
Basic commands
bash
git clone &lt;repo&gt;
git status
git log
git commit
git add &lt;file&gt;
git rm &lt;file&gt;
git diff &lt;file&gt;
git push
Step1:  GitHub workflow
Fork &rarr; Branch &rarr; Write &rarr; PR
Fork
bash
git clone https
Step2:  PR ready!?  What now?
<ASSISTANT_TASK:>
Python Code:
%%bash
git status
%%bash
git log
%%bash
git show
%%writefile foo.md
Fetchez la vache
%%bash
git add foo.md
%%bash
git st
%%bash
git diff foo.md
%%bash
git diff git_intro.ipynb
%%bash
git rm -f foo.md
%%bash
git st
Explanation: Very simple git intro
git config
%%bash
git config --global --get user.name
git config --global --get user.email
Basic commands
bash
git clone &lt;repo&gt;
git status
git log
git commit
git add &lt;file&gt;
git rm &lt;file&gt;
git diff &lt;file&gt;
git push
End of explanation
%%bash
git branch new_post
%%bash
git checkout new_post
%%writefile my_new_post.md
# Q: What is the meaning of life?
# A: 42
%%bash
git st
%%bash
git add my_new_post.md
%%bash
git st
%%bash
git ci -m "Adding my new post." my_new_post.md
%%bash
git push
%%bash
git push --set-upstream origin new_post
Explanation: GitHub workflow
Fork &rarr; Branch &rarr; Write &rarr; PR
Fork
bash
git clone https://github.com/&lt;username&gt;/git_intro_demo.git
Branch
End of explanation
%%bash
git remote --verbose
%%bash
git remote add upstream https://github.com/ocefpaf/git_intro_demo.git
git remote --verbose
Explanation: PR ready!?  What now?
End of explanation
<END_TASK>