Hi Jagodo
If your Galileo isn't saving the sketches, then the most likely cause is that it is not booting from the SD card.
You can connect to your Galileo using one of the methods discussed in
Connecting to Galileo via Linux Console
then run
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/loop0 2.0G 476M 1.5G 25% /
none 116M 4.0K 116M 1% /dev
/dev/mmcblk0p1 7.5G 2.2G 5.4G 29% /media/realroot
tmpfs 117M 248K 117M 1% /var/volatile
tmpfs 117M 0 117M 0% /media/ram
If your SD card is being used to boot the system, you should see a line, like the above, for /dev/mmcblk0p1 that is several Gigabytes in size
To set up your SD card, make sure you follow the instructions in Getting Started or Sparkfun has a good tutorial at
https://learn.sparkfun.com/tutorials/galileo-getting-started-guide
You need to make sure your SD card is formatted for fat32 and copy the files you downloaded to the root of it.
See the tutorial at Sparkfun if you don't know how to do this.
I would suggest instead of using the standard image you use one created by AlexT so you will have access to a repository and can use opkg to install new programs.
http://alextgalileo.altervista.org/blog/updated-galileo-devtools-image/
Please read carefully warnings. The Galileo is much more powerful and fragile than the Arduino.
If you connect the usb cable before power or shut down power with it attached, you can destroy the board.
If all you want to do is run Arduino sketches, you should just use an Arduino UNO. If you want to build projects that can make use of the processing power of the Galileo, you should use a programming language.
There is a discussion on how to set up Python and wiring Python, Wiring_x86, I2C LCD, Grove RGB LCD
If you want to use node.js, you can install the XDK Iot image - and install the programming environment
https://software.intel.com/en-us/iot
Welcome to the Galileo Community and good luck with your making
rgb