# Saving your code "and stuff"

**URL:** <https://forum.freecodecamp.org/t/saving-your-code-and-stuff/625318>\
**Category:** General\
**Created:** [July 25, 2023, 8:31pm UTC](https://forum.freecodecamp.org/t/saving-your-code-and-stuff/625318 "2023-07-25T20:31:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bmc](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/bmc/32/325397_2.png) [@bmc](https://forum.freecodecamp.org/u/bmc)\
**Post date:** [July 25, 2023, 8:31pm UTC](https://forum.freecodecamp.org/t/saving-your-code-and-stuff/625318/1 "2023-07-25T20:31:52Z")

</div>

I want to save my projects from the lessons (cafe menu, registration form, etc) i have github and codepen; i have created a repository but i cannot see how to “add” it as code? ive copied and pasted, ive downloaded which saved as a simple text file. i click “add file” in Git and its just that, a text file.  
i guess im asking how to start acting like someone who does this stuff. how you save, how you move stuff around?. this is still very unclear to me.

---

<div class="post-metadata">

**Author:** ![lasjorg](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/lasjorg/32/280761_2.png) [@lasjorg](https://forum.freecodecamp.org/u/lasjorg)\
**Post date:** [July 26, 2023, 12:56am UTC](https://forum.freecodecamp.org/t/saving-your-code-and-stuff/625318/2 "2023-07-26T00:56:44Z")

</div>

Code is just text until it runs or compiles.

When you create an empty repo you can drag and drop files into it or when you use Add file \> Upload files

> **[Adding a file to a repository - GitHub Docs](https://docs.github.com/en/repositories/working-with-files/managing-files/adding-a-file-to-a-repository)**
>
> You can upload and commit an existing file to a repository on GitHub or by using the command line.

Or you can learn Git and how to push your code to GitHub.

[https://www.youtube.com/results?search\_query=Git+and+GitHub+beginners](https://www.youtube.com/results?search_query=Git+and+GitHub+beginners)

[https://www.google.com/search?q=git+and+github+tutorial](https://www.google.com/search?q=git+and+github+tutorial)

---

<div class="post-metadata">

**Author:** ![bmc](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/bmc/32/325397_2.png) [@bmc](https://forum.freecodecamp.org/u/bmc)\
**Post date:** [July 26, 2023, 4:51pm UTC](https://forum.freecodecamp.org/t/saving-your-code-and-stuff/625318/3 "2023-07-26T16:51:35Z")

</div>

thank you i will watch these!

---

<div class="post-metadata">

**Author:** ![bmc](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/bmc/32/325397_2.png) [@bmc](https://forum.freecodecamp.org/u/bmc)\
**Post date:** [July 26, 2023, 5:38pm UTC](https://forum.freecodecamp.org/t/saving-your-code-and-stuff/625318/4 "2023-07-26T17:38:00Z")

</div>

ok that was tough watch lol. alot of command line stuff. way above my pay grade but i now have a better understanding of whats going on thank you

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [January 25, 2024, 5:38am UTC](https://forum.freecodecamp.org/t/saving-your-code-and-stuff/625318/5 "2024-01-25T05:38:25Z")

</div>

Closed on January 25, 2024, 5:38am UTC

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
