ek@Ilex:~/source/repos/tmp$ git status
On branch master
nothing to commit, working tree clean
ek@Ilex:~/source/repos/tmp$ sed -i '1s/^/This is a... "zeroth" line?\n/' greeting
ek@Ilex:~/source/repos/tmp$ git diff
diff --git a/greeting b/greeting
index af5626b..9cca50a 100644
--- a/greeting
+++ b/greeting
@@ -1 +1,2 @@
+This is a... "zeroth" line?
Hello, world!
ek@Ilex:~/source/repos/tmp$ git add .
ek@Ilex:~/source/repos/tmp$ git commit -m 'added a line at the beginning'
[master 6ca3d80] added a line at the beginning