This is the latest commit code change (added text "new line added"). How can I get this text to another temp file?
$ git show
commit c3fc4d58275740e5abc85219d75c2c00f3027a46 (HEAD -> my_branch, origin/my_branch)
Author: ********
Date: ********
test
diff --git a/test.txt b/test.txt
new file mode 100644
index 000000000..e833ecb7d
--- /dev/null
+++ b/test.txt
@@ -0,0 +1 @@
+new line added
\ No newline at end of file