I'm sorry, could anyone explain more in details how these trains were built?
There were totally unfitted (=without air-brakes?) trains where brakes were manually operated with a brake stick? What kind of brakes did this wagons have then?
First of all, air brakes didn't come in on wagons in the UK until around 1970, with a few exceptions such as ferry wagons that had both air and vacuum brakes but only used the air brakes on the Continent. My comments below mostly refer to vacuum brakes but very much the same principles applied with air brakes and by the 80s nearly all freight trains were fully fitted with air brakes.
Some wagons carried a vacuum cylinder and brake rigging to operate the brakes - the proportion so fitted increased over time but was probably less than 50% even when they started being replaced by air braked wagons.
In earlier years, vacuum fitted wagons tended to be the ones doing longer and faster journeys, so most vans were fitted at least later on, but mineral wagons for slow coal trains probably weren't.
Most but not all locomotives had exhausters to create a vacuum and vacuum pipes on each end. If fitted wagons had their hoses connected through to the locomotive then the driver could operate their brakes by varying the pressure in the pipe. More importantly if the train became divided the brakes on both parts would apply automatically (referred to as a continous brake). Wagons fitted with vacuum gear didn't count as "fitted" for the purposes of operating the train unless the brake pipe was connected to the loco. There were also a few wagons with through pipes but no vacuum brake gear, which didn't count as fitted either but could have fitted wagons behind them.
The fastest trains were fully fitted and although they still carried a guard, he didn't have to be in a van at the end of the train. Sometimes the van was near but not at the end and in many trains of later years the guard would travel in the back cab of the loco.
Other trains had a "fitted head" of continuous braked wagons connected up to the loco but the other wagons either didn't have vacuum brakes or the vacuum pipes weren't connected so the vacuum brakes couldn't be used. These were referred to as partly fitted trains and there were various rules about what speed was allowed depending on how many of the wagons had working continuous brakes. On a partly fitted or unfitted train the guard had to travel in a brake van as the very last vehicle, and was responsible for assisting in braking when required and also for stopping the rear portion if the train became divided.
All wagons whether fitted or not had and still have a hand brake, usually a long lever on both sides of a four-wheel wagon or a handwheel each side of a bogie wagon. The tip of the lever or the wheel is painted white so is often visible on photos. The wheel-applied brakes have some kind of worm gear so the brake stays in the position it is set. A brake handle needs to be secured in one of several positions by inserting a pin through holes in struts in front of an behind it, hence the term "pinning down brakes".
A brake stick would be used by someone running alongside the wagon to hold the brake lever down and slow it, usually during hump or loose shunting where wagons were moved without being coupled to a loco. Needless to say this sort of activity was highly dangerous and no longer takes place (they also uncoupled on the move which sounds even more scary).
On some steep descents the brakes on the loco plus the brake van would not be enough to control the speed of the train, so unfitted or partly fitted trains would stop before the start of the gradient for the guard to pin down enough brakes to prevent it accelerating, and again at bottom to release them. The loco and van brakes would then be used to stop it if this became necessary.
Wagons parked in sidings needed and still do need enough handbrakes applied to prevent them rolling away - note that a vacuum or air brake can't be used to hold an unattended train as if there is no loco or the engine shuts down the brakes will eventually leak off as air/vacuum pressure is lost from the pipework.