You are not defined by the work you do, and any long "coding streak" someone says you have should be seen as a helpful signpost that you might be struggling to manage your workload or maybe suffering low self-esteem.
You are great, and the number of commits you made has nothing to do with that.