gg

gg will move the cursor to the top of the file
G will move the cursor to the end of the file

Further Reading

:h gg :h G

More Gifs